const mongoose = require("mongoose")
mongoose
    .connect('mongodb+srv://321660606:w12345678@cluster0.zho04.mongodb.net/xmdb5')
    .then(() => {
        console.log("mongodb数据库连接成功")
    })
    .catch((err) => {
        console.log(err);
    })
module.exports = mongoose